		<div class="form_description">
		</div>

		<label class="description" for="element_1">Name </label>
		<div>
			<input id="element_1" name="name" class="element text large" type="text" maxlength="255" value="<?=$_SESSION['patron']['name']?>"/> 
		</div>
					
		<label class="description" for="element_7">Publisher </label>
		<div>
		<select class="element select large" id="element_7" name="publisher"> 
			<option value="" selected="selected"></option>
            <option value="1" >First option</option>
            <option value="2" >Second option</option>
            <option value="3" >Third option</option>
		</select>
		</div>

        <?php
            $a1 = '';
            $a2 = '';
            $a3 = '';
            switch($_SESSION['patron']['level'])
            {
                case "Architectural":
                    $a1 = 'selected="selected"';
                    break;
                case "Design":
                    $a2 = 'selected="selected"';
                    break;
                case "Implementation":
                    $a3 = 'selected="selected"';
                    break;
            }

            echo '<label class="description" for="level">Level </label>';
            echo '<div>';
            echo '<select class="element select large" id="el8" name="level">';
            echo '<option value="Architectural" ' . $a1 . '> Architectural </option>';
            echo '<option value="Design" ' . $a2 . '> Design </option>';
            echo '<option value="Implementation" ' . $a3 . '> Implementation </option>';
            echo '</select>';
            echo '</div>';
        ?>

		<label class="description" for="element_2">Origin </label>
		<div>
			<input id="element_2" name="origin" class="element text large" type="text" maxlength="255" value="<?=$_SESSION['patron']['origin']?>"/> 
		</div>

		<label class="description" for="lb_goal">Goal </label>
		<div>
			<input id="element_2" name="goal" class="element text large" type="text" maxlength="255" value="<?=$_SESSION['patron']['goal']?>"/> 
		</div>

		<label class="description" for="element_3">Alias </label>
		<div>
			<input id="element_3" name="alias" class="element text large" type="text" maxlength="255" value="<?=$_SESSION['patron']['alias']?>"/> 
		</div>

		<label class="description" for="element_4">Related Patterns </label>
		<div>
			<textarea id="element_4" name="related_patterns" class="element textarea small"><?=$_SESSION['patron']['related_patterns']?></textarea> 
		</div>

		<label class="description" for="element_5">Consequences </label>
		<div>
			<textarea id="element_5" name="consequences" class="element textarea small"><?=$_SESSION['patron']['consequences']?></textarea> 
		</div>

		<label class="description" for="element_6">Other </label>
		<div>
			<textarea id="element_6" name="other" class="element textarea small"><?=$_SESSION['patron']['other_base']?></textarea> 
		</div>

        <div align="center">
			    <input type="hidden" name="form_id" value="34267">
				<input id="saveForm" class="button_text" type="submit" name="submit" value="Validate" />
        </div>
